{extend name="layout/layout" /} {block name="title"}最新资讯—楼氏集团{/block}
{block name="container"}

<!-- Banner -->
<div class="banner">
  <img src="{$banner}" alt="" />
</div>

<!-- NewsDetail -->
<div class="news-wrap detail bg-white">
  <div class="container news-container">
    <h1 class="news-title">
      <?php echo $news['title']; ?>
    </h1>
    <p class="news-date"><?php echo date('Y.m.d', $news['createtime']); ?></p>
    <div class="news-content">
      <!-- 富文本内容 -->
      <?php echo $news['content']; ?>
    </div>
    <div class="news-pagebar">
      <?php if($preId): ?>
      <a href="/news/<?php echo $preId; ?>" class="arrows arrows-left"
        >上一篇</a
      >
      <?php endIf; ?>
      <?php if($nextId): ?>
      <a href="/news/<?php echo $nextId; ?>" class="arrows arrows-right"
        >下一篇</a
      >
      <?php endIf; ?>
    </div>
  </div>
</div>

{/block}
